package com.ruoyi.hospital.domain.member;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点赞记录对象 member_zan
 * 
 * @author wendao
 * @date 2024-12-19
 */
public class MemberZan extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer memberId;

    /** 类型 */
    @Excel(name = "类型")
    private Integer zanType;

    /** id */
    @Excel(name = "id")
    private Integer zanId;

    /** 删除时间 */
    private Integer deleteTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }
    public void setZanType(Integer zanType) 
    {
        this.zanType = zanType;
    }

    public Integer getZanType() 
    {
        return zanType;
    }
    public void setZanId(Integer zanId) 
    {
        this.zanId = zanId;
    }

    public Integer getZanId() 
    {
        return zanId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("zanType", getZanType())
            .append("zanId", getZanId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
